package com.ruoyi.testing.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 项目委托信息对象
 * 
 * @author ruoyi
 * @date 2023-10-16
 */
@ApiModel("项目委托信息")
public class EntrustmentTest extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** 项目编号 */
    @Excel(name = "项目编号")
    @ApiModelProperty(value = "项目编号")
    private String agreementNum;


    /** 样品类别 */
    @Excel(name = "样品类别")
    @ApiModelProperty(value = "样品类别")
    private String sampleType;

    /** 项目类别 */
    @Excel(name = "项目类别")
    @ApiModelProperty(value = "项目类别")
    private String itemType;

    /** 主检 */
    @Excel(name = "主检")
    @ApiModelProperty(value = "主检")
    private String mainTester;

    /** 主检人名 */
    private String mainName;

    /** 检测员 */
    @Excel(name = "检测员")
    @ApiModelProperty(value = "检测员")
    private String subTester;

    /** 检测人名 */
    private String subName;

    /** 委托单位 */
    @Excel(name = "委托单位")
    @ApiModelProperty(value = "委托单位")
    private String companyName;

    /** 委托单位地址 */
    @Excel(name = "委托单位地址")
    @ApiModelProperty(value = "委托单位地址")
    private String companyAdress;

    /** 检测类型 */
    @Excel(name = "检测类型")
    @ApiModelProperty(value = "检测类型")
    private String testCategory;

    /** 检测日期 */
    @JsonFormat(pattern = "yyyy年MM月dd日")
    @Excel(name = "检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "检测日期")
    private Date testDate;

    /** 预计完成时间 */
    @Excel(name = "预计完成时间")
    @JsonFormat(pattern = "yyyy.MM.dd")
    @ApiModelProperty(value = "预计完成时间")
    private Date reportCompleteTime;

    /** 样品名称 */
    @ApiModelProperty(value = "样品名称")
    private String sampleName;

    /** 报告编号 */
    @ApiModelProperty(value = "报告编号")
    private String reportNum;

    public void setAgreementNum(String agreementNum) 
    {
        this.agreementNum = agreementNum;
    }

    public String getAgreementNum() 
    {
        return agreementNum;
    }

    public void setSampleType(String sampleType) 
    {
        this.sampleType = sampleType;
    }

    public String getSampleType() 
    {
        return sampleType;
    }

    public void setMainTester(String mainTester) 
    {
        this.mainTester = mainTester;
    }

    public String getMainTester() 
    {
        return mainTester;
    }
    public void setSubTester(String subTester) 
    {
        this.subTester = subTester;
    }

    public String getSubTester() 
    {
        return subTester;
    }

    public String getMainName() {
        return mainName;
    }

    public void setMainName(String mainName) {
        this.mainName = mainName;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyAdress() {
        return companyAdress;
    }

    public void setCompanyAdress(String companyAdress) {
        this.companyAdress = companyAdress;
    }

    public String getTestCategory() {
        return testCategory;
    }

    public void setTestCategory(String testCategory) {
        this.testCategory = testCategory;
    }

    public Date getTestDate() {
        return testDate;
    }

    public void setTestDate(Date testDate) {
        this.testDate = testDate;
    }

    public Date getReportCompleteTime() {
        return reportCompleteTime;
    }

    public void setReportCompleteTime(Date reportCompleteTime) {
        this.reportCompleteTime = reportCompleteTime;
    }

    public String getSampleName() {
        return sampleName;
    }

    public void setSampleName(String sampleName) {
        this.sampleName = sampleName;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getReportNum() {
        return reportNum;
    }

    public void setReportNum(String reportNum) {
        this.reportNum = reportNum;
    }
}
